//
//  WSDataReportConfig.m
//  microvision
//
//  Created by zhenjingxiong on 2021/3/5.
//  Copyright © 2021 tencent. All rights reserved.
//

#import "WSDataReportConfig.h"
#import "WSDataReportFilterManager.h"

@implementation WSDataReportConfig

+ (instancetype)instance {
    static WSDataReportConfig *instance;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        instance = [[WSDataReportConfig alloc] init];
    });
    return instance;
}

- (void)setDataFilterItemArray:(NSArray<WSDataReportFilterItem *> *)dataFilterItemArray {
    _dataFilterItemArray = dataFilterItemArray;
    
    [[WSDataReportFilterManager instance] updateDataByFilterConditions];
}


@end
